package com.itheima.service;

import com.itheima.pojo.OrderSetting;

import javax.xml.crypto.Data;
import java.util.List;
import java.util.Map;

/***
 * 预约设置接口服务
 */
public interface OrderSettingService {
    /***
     * 批量预约设置
     * @param orderSettingList
     */
    void save(List<OrderSetting> orderSettingList);

    /***
     * 根据年月查询预约数据并回显
     * @return
     */
    List<Map> getOrderSettingByMonth(String date);

    /***
     * 根据指定日期修改可预约人数
     * @param orderSetting
     * @return
     */
    void editNumberByDate(OrderSetting orderSetting);




}
